package com.bootdo.market.service;

import com.bootdo.market.domain.ProductArticleDO;

import java.util.List;
import java.util.Map;

/**
 * @author jinse
 * @email market@jinse.com
 * @date 2019-04-16 19:03:14
 */
public interface ProductArticleService {

    ProductArticleDO get(Integer id);

    List<ProductArticleDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(ProductArticleDO productArticle);

    int update(ProductArticleDO productArticle);

    int remove(Integer id);

    int batchRemove(Integer[] ids);

    ProductArticleDO findArticlesortById(Integer id);

    int saveProductArticleRelationship(ProductArticleDO productArticle);

}
